package com.cy.personer.bean;

import javax.xml.crypto.Data;
import java.io.Serializable;

public class UserTransaction implements Serializable {

    private static final long serialVersionUID = -8026169949135193281L;

    /**
     *用户交易ID
     */
    private Integer ordeId;

    /**
     *订单编号
     */
    private String ordeNumber;

    /**
     *交易类型
     */
    private String ordeName;

    /**
     *金额
     */
    private double ordeMoney;

    /**
    *交易时间
    */
    private Data ordeTime;

    /**
     *用户ID
     */
    private Integer userId;


    public UserTransaction(){super();}

    public UserTransaction(Integer ordeId, String ordeNumber, String ordeName, double ordeMoney,Data ordeTime,Integer userId) {
        this.ordeId = ordeId;
        this.ordeNumber = ordeNumber;
        this.ordeName = ordeName;
        this.ordeMoney = ordeMoney;
        this.ordeTime = ordeTime;
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "UserTransaction{" +
                "ordeId=" + ordeId +
                ", ordeNumber='" + ordeNumber + '\'' +
                ", ordeName='" + ordeName + '\'' +
                ", ordeMoney=" + ordeMoney +
                ", ordeTime=" + ordeTime +
                ", userId=" + userId +
                '}';
    }

    public Integer getOrdeId() {
        return ordeId;
    }

    public void setOrdeId(Integer ordeId) {
        this.ordeId = ordeId;
    }

    public String getOrdeNumber() {
        return ordeNumber;
    }

    public void setOrdeNumber(String ordeNumber) {
        this.ordeNumber = ordeNumber;
    }

    public String getOrdeName() {
        return ordeName;
    }

    public void setOrdeName(String ordeName) {
        this.ordeName = ordeName;
    }

    public double getOrdeMoney() {
        return ordeMoney;
    }

    public void setOrdeMoney(double ordeMoney) {
        this.ordeMoney = ordeMoney;
    }

    public Data getOrdeTime() {
        return ordeTime;
    }

    public void setOrdeTime(Data ordeTime) {
        this.ordeTime = ordeTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
